package com.ruoyi.system.service.impl;

import com.ruoyi.system.mapper.StoreAndConsumeScreenMapper;
import com.ruoyi.system.service.StoreAndConsumeScreenService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

@Service
public class StoreAndConsumeScreenServiceImpl implements StoreAndConsumeScreenService {

    @Autowired
    private StoreAndConsumeScreenMapper storeAndConsumeScreenMapper;

    @Override
    public Integer selectCurrentMonthAdd() {
        return storeAndConsumeScreenMapper.selectCurrentMonthAdd();
    }

    @Override
    public Integer selectStoreTotal() {
        return storeAndConsumeScreenMapper.selectStoreTotal();
    }

    @Override
    public List<HashMap<String, Integer>> selectPercent() {
        return storeAndConsumeScreenMapper.selectPercent();
    }
}
